<template>
    <div>
        <div class="header">
            我是头部 {{name}}
        </div>
    </div>
</template>

<script>
    export default {
        // name: 'headersA',
        data() {
            return {
                key: '1'
            }
        },
        props: {
            name: {
                type: String,
                default: '1',
            }
        },
        methods: {
            name1() {
                
            }
        },
    }
</script>

<style lang="scss" scoped>
.header {
    width: 100%;
    height: 100px;
    background-color: greenyellow;
}
</style>